'use strict';

const { Service } = require('ee-core');

/**
 * 示例服务（service层为单例）
 * @class
 */
class ExampleService extends Service {

  constructor(ctx) {
    super(ctx);
  }

  /**
   * test
   */
  async test(args) {
    // test('has title', async ({ page }) => {
    //   await page.goto('https://baidu.com/');
    //   // Expect a title "to contain" a substring.
    //   await expect(page).toHaveTitle(/Playwright/);
    // });
    // return obj;
  }
}

ExampleService.toString = () => '[class ExampleService]';
module.exports = ExampleService;